<?php

class Social_Form_Admin_Settings_Gplus extends Core_Form_Admin_Settings_Base
{
    protected function _init()
    {

        $this -> setName('form_social_settings') -> setTitle('social settings');

        /**
         * @gplus
         */
        $this -> addChild('@radio', 'social_gplus_enable', array(
            'label' => 'google plus enable',
            'multiOptions' => array(
                'on' => 'yes',
                'off' => 'no'
            ),
            'value' => 'off'
        ));

        $this -> addChild('@title', 'social_gplus_key', array(
            'label' => 'google plus key',
        ));

        $this -> addChild('@title', 'social_gplus_secret', array(
            'label' => 'google plus secret',
        ));

        $this -> addChild('@group', 'buttons');

        $this -> buttons -> addChild('@submit', '_submit') -> addChild('@cancel', '_cancel');

    }

}
